package com.sjksy.demo.service;

import com.sjksy.demo.domain.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sjksy.demo.vo.employee.EmployeeRequestVo;
import com.sjksy.demo.vo.employee.EmployeeResponseVo;

import java.util.List;

/**
* @author guyueyuan
* @description 针对表【employee】的数据库操作Service
* @createDate 2024-12-11 15:37:02
*/
public interface EmployeeService extends IService<Employee> {
    /**\
     * 插入员工信息
     * @param employeeRequestVo
     */
    void insert(EmployeeRequestVo employeeRequestVo);

    /**
     * 删除员工
     * @param id
     */
    void delete(Integer id);

    /**
     * 查询所以员工信息
     * @return
     */
    List<EmployeeResponseVo> searchAll();
}
